package com.mayuanfei.springboot03.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * TODO 类描述
 *
 * @author 老马
 * @date 2023-04-21 17:29
 */
@Data
@Component
@ConfigurationProperties(prefix = "user3")
public class User3 {
    private Integer id;
    private String name;
    private Integer age;
    private String[] country;
}